#ifndef MATRIXFORMATCONVERTER_H
#define MATRIXFORMATCONVERTER_H

#include <QtGui/QMainWindow>
#include "ui_matrixformatconverter.h"
#include <qfiledialog.h>
#include <qmessagebox.h>
#include "structures\CSparseMatrixCSR.hpp"
#include "structures\CSparseMatrixCSR1.hpp"

class MatrixFormatConverter : public QMainWindow
{
	Q_OBJECT


public:
	MatrixFormatConverter(QWidget *parent = 0, Qt::WFlags flags = 0);
	~MatrixFormatConverter();

private:
	Ui::MatrixFormatConverterClass ui;

private slots:
	void openFile();
	void saveFile();

private:
	void saveToRowFormat();
	void saveToCSRFormat();
	void saveToCSR_1_Format();
	void saveToCSR_1_L_U_Format();

};

#endif // MATRIXFORMATCONVERTER_H
